package com.example.logintest.service.impl;

import com.example.logintest.bean.User;
import com.example.logintest.dao.GetAll;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value = "GetAll")
public class GetAllImpl implements GetAll {
    @Autowired
    GetAll getAll;


    @Override
    public List<User> getAll() {
        return getAll.getAll();
    }
}
